﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BiffenService.Model;
using BiffenService.Db;

namespace BiffenService.Control
{
    public class PriceCategoryControl
    {
        private static IPriceCategoryDb priceDb = new PriceCategoryDb();

        public static PriceCategory GetPriceCategory(int id)
        {
            return priceDb.GetPriceCategory(id);
        }

        public static List<PriceCategory> GetAllPriceCategories()
        {
            return priceDb.GetAllPriceCategories();
        }
    }
}
